package Service;

import Dao.SiteDao;
import Pojo.Site;

import java.sql.SQLException;

public class SiteService {
    private final SiteDao siteDao = new SiteDao();

    public Site getSiteAll() throws SQLException {
        return siteDao.getSiteAll();
    }

    public int updateSiteIsAdmin(Site site) throws SQLException {
        return siteDao.updateSiteIsAdmin(site);
    }
}
